package com.easybuy.service;

import com.easybuy.bean.EasybuyComment;

import java.util.List;

public interface ICommentService {
    //前台分页显示
    List<EasybuyComment> listBypage(int page, int pageSize);
    //后台分页显示
    List<EasybuyComment> listHomeBypage(int page, int pageSize);
    //删除
    int deleteByPk(int id);

    int save(EasybuyComment easybuyComment);

    int countAll();

    EasybuyComment selectByComment(Integer ecId);

    int updateById(EasybuyComment easybuyComment);
}
